Corresponding Author: T. Andrew Yang Performance Comparison of Database Access over the Internet- Java Servlets vs CGI

نویسندگان

  • Andrew Yang
  • Ralph F. Grove
چکیده

Our recent work on database access using Java servlets (see Yang and Kim 1999) focused on the performance metering of sequential versus concurrent connection schemes between the web server and the database server. In this paper, we plan to extend the work by comparing the performance of database access between servlets and CGI scripts in the Internet environment. To guarantee a fair comparison, all the parameters in both sets of experiments are identical, except for the connectivity mechanism between the web server and the database server. The first section of this draft paper gives an introduction to the 3-Tier WWW model and its integration with Java servlets or CGI to enable database connectivity. The section is followed by a discussion of the servlets that we developed to experiment with distributed data access, and the two different types of servlet-database connection schemes (sequential vs concurrent). The findings from the earlier performance metering experiments using Java servlets are then summarized. The configuration of the performance comparison experiments using servlets and CGI are illustrated in the following section. The paper concludes with analysis of the experiments comparing the performance of servlets vs CGI.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Java Servlets versus CGI

The Common Gateway Interface (CGI) was the first attempt to enable the creation of dynamic HTML pages which represent a very suitable concept to meet the requirements of web-based applications for remote data analysis (RDA). CGI scripts are still popular, but by now there are new approaches which should be able to solve the main CGI problems. In this paper, we present the most promising one: Ja...

متن کامل

Performance Comparison of Alternative Solutions For Web-To-Database Applications

Abstract. Currently, there are many approaches on developing web-to-database projects. These approaches operate in a very similar way on handling database operations, but result in different performance. In this paper, three alternative approaches (CGI, Java Servlets and PHP) were applied on a same project to investigate their performance difference. Benchmark results will be provided for compa...

متن کامل

Analysis of Compute Vs Retrieve Intensive Web Applications and Its Impact On The Performance Of A Web Server

-------------------------------------------------------------------ABSTRACT-------------------------------------------------------------The World Wide Web (WWW) has undergone remarkable change over the past few years, placing substantially heavy load on Web servers. Today’s web servers host web applications that demand high computational resources. Also some applications require heavy database ...

متن کامل

SUGI 28: Java Servlets and Java Server Pages for SAS(r) Programmers: An Introduction

AppDev Studio 2.0 provides a drag-and-drop interface to produce Java-based thin-client applications using Servlet technology, as well as support for Java Server Pages (JSPs). Those of you who have created Java Servlets using the drag and drop methods may be somewhat mystified by the Java code generated. What is an import statement, and what is the function of those curly braces? And just how do...

متن کامل

A Comparison of Software Architectures for E-business Applications

As dynamic content has become more prevalent on the Web, a number of standard mechanisms have evolved to generate such dynamic content. We study three specific mechanisms in common use: PHP, Java servlets, and Enterprise Java Beans (EJB). PHP and Java servlets require a direct encoding of the database queries in the application logic. EJB provides a level of indirection, allowing the applicatio...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2002